//
//  WCNTTemplateListCell.m
//  WCN
//
//  Created by wsj2015 on 15/12/15.
//  Copyright © 2015年 ShanghaiCize Trade And Business Co., Ltd. All rights reserved.
//

#import "WCNTTemplateListCell.h"

@implementation WCNTTemplateListCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
    
    if (selected) {
        self.iconImage.image = [UIImage imageNamed:@"Selected"];
    }else{
        self.iconImage.image = [UIImage imageNamed:@"Selected_no"];
    }
    
    
}
- (void)setTempetateModel:(WCNTempetateModel *)tempetateModel
{
    _tempetateModel = tempetateModel;
    
    self.nameLabel.text =tempetateModel.templateName;

}

@end
